﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TurtleLib.ComputerCraft
{
  public partial class OperatingSystem
  {
    internal class OperatingSystemAccess
    {
      private OperatingSystem _os;

      public OperatingSystemAccess(OperatingSystem os)
      {
        _os = os;
      }

      public void Boot()
      {
        _os.Boot();
      }

      public void SetBoot(Action boot)
      {
        _os._bootScript = boot;
      }

      public Action<string> StatusUpdateCallback { get { return _os._statusUpdateCallback; } set { _os._statusUpdateCallback = value; } }
    }
  }
}
